package com.lxt.cloud.streammq.controller;

import com.lxt.cloud.streammq.service.IMessageProvider;
import com.lxt.cloud.streammq.service.IMessageProviderCustom;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SendMessageCustomController {
    @Resource
    private IMessageProviderCustom messageProviderCustom;

    @GetMapping(value = "/sendMessageCustom")
    public void sendMessage(){
        messageProviderCustom.send();
    }
}
